/**
 * The Prophecy
 * java based lightweight texas hold'em poker software base
 * http://code.google.com/p/theprophecy/
 */

package org.poker.prophecy.core;

import junit.framework.TestCase;

/**
 * @author bg
 */

public class PokerHandTest extends TestCase implements CardInterface{

    public PokerHandTest(String name) {
        super(name);
        PokerHand ph = new PokerHand(new Card("aH"), new Card("aH"), new Card("3H"), new Card("4H"), new Card("2H"));
        System.out.println(ph);
        System.out.println(ph.getHandRankAsPrintableString());
        System.out.println(ph.getAllSuitsInHand());
        System.out.println(ph.getAllValuesInHand());
        System.out.println(ph.getAllCardsOfValue(ACE));
        System.out.println(ph.getAllCardsOfSuit(HEARTS));
    }
    
    public static void main(String[] args) {
        junit.textui.TestRunner.run(PokerHandTest.class);
    }
    
    protected void setUp() throws Exception {
        super.setUp();
    }

    protected void tearDown() throws Exception {
        super.tearDown();
    }

}
